package cn.schoolwow.util.test.module.replaceFile.ruoyi.testcase;

import cn.schoolwow.quickflow.domain.FlowContext;
import cn.schoolwow.quickflow.flow.BusinessFlow;
import cn.schoolwow.util.test.module.replaceFile.ruoyi.flow.ModifyJavaFileFlow;
import cn.schoolwow.util.test.module.replaceFile.ruoyi.flow.ModifyPomFileFlow;
import cn.schoolwow.util.test.module.replaceFile.ruoyi.flow.ModifyRuoYiDirectoryNameFlow;

public class ModifyRuoYiDirectoryTestCaseFlow implements BusinessFlow {
    @Override
    public void executeBusinessFlow(FlowContext flowContext) throws Exception {
        flowContext.startFlow(new ModifyRuoYiDirectoryNameFlow())
                .next(new ModifyPomFileFlow())
                .next(new ModifyJavaFileFlow())
                .execute();
    }

    @Override
    public String name() {
        return "修改若依项目框架信息";
    }
}
